package haiyangwangwork.day07.homework;

public class EnumDemo1 {
    public static void main(String[] args) {
        //System.out.println(Month.March+"是"+Month.March.getMonth()+"月份，它的中文是"+Month.March.getChinese()+"，它的季节是"+Month.March.getSeason());
                for (Month month:Month.values()) {
                    System.out.println(month.name()+"是"+month.getMonth()+"月份，它的中文是"+month.getChinese()+"，它的季节是"+month.getSeason());
                }

    }
}
